package com.Logging 
{
	/**
	 * ...
	 * @author Dmitri/Yun-En
	 * 
	 * Contains action IDs for all user actions in the game. Think of this class as a global enum.
	 * Replace with your own IDs.
	 * 
	 * IMPORTANT NOTES:
	 * 1.) Don't reuse ids.  This will make for really weird server logs, as
	 * old data will get reinterpretated as new data.
	 * Just make new ids and use those instead.
	 * 2.) When you add a new id, make sure to add it to the server as well.
	 * That way when it generates reports it can know which id maps to which actions.
	 */
	public final class ClientActionType 
	{
		
		//public static const ENEMY_KILLED:int = 0;
		/*
		a_id    a_name
		1       clear level			clears a level
		2       fail level			fails a level
		3       place arrow         arrow placed at x,y
		4       kill monster        a monster is kill at x,y
		5       obstacle crossed    player cross obs x,y as element z
		*/
		public static const CLEAR_LV:int = 1;
		public static const FAIL_LV:int = 2;
		public static const PLACE_ARROW:int = 3;
		public static const KILL_MONSTER:int = 4;
		public static const OBSTACLE_C:int = 5;
		public static const KILL_BY_MONSTER:int = 6;
		public static const OPEN_CHEAT:int = 7;
		public static const RESTART:int = 8;
		
		public static const CREATE_MAP:int = 11;
		public static const PLAY_CUSTOM_MAP:int = 12;
		//public static const 
		
		public static const ENTER_FROOM:int = 21;
		public static const CHALLENGE:int = 22;
		public static const INVITE:int = 23;
	}
	
}